import { ProtectedRoute } from '@/components/auth/ProtectedRoute'
import { DashboardStats } from '@/components/dashboard/DashboardStats'
import { RecentActivity } from '@/components/dashboard/RecentActivity'
import { QuickActions } from '@/components/dashboard/QuickActions'
import { SystemStatus } from '@/components/dashboard/SystemStatus'

export default function AdminDashboard() {
  return (
    <ProtectedRoute>
      <div className="space-y-6">
        {/* 页面标题 */}
        <div className="border-b border-gray-200 pb-4">
          <h1 className="text-2xl font-bold text-gray-900">仪表板</h1>
          <p className="text-gray-600 mt-1">欢迎使用知识库管理系统</p>
        </div>

        {/* 统计卡片 */}
        <DashboardStats />

        {/* 快速操作 */}
        <QuickActions />

        {/* 系统状态 */}
        <SystemStatus />

        {/* 最近活动 */}
        <RecentActivity />
      </div>
    </ProtectedRoute>
  )
}
